﻿using System;
using Chloe.Annotations;

namespace WaterCloud.Domain.BasicData
{
    /// <summary>
    /// 创 建：超级管理员
    /// 日 期：2020-07-04 15:26
    /// 描 述：资产分类1实体类
    /// </summary>
    [TableAttribute("sys_hierarchies")]
    public class HierarchiesEntity : IEntity<HierarchiesEntity>
    {
        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        [ColumnAttribute("F_Id", IsPrimaryKey = true)]
        public int F_Id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        public string F_Code { get; set; }
        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        public string F_Name { get; set; }
        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        public string F_FullName { get; set; }
        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        public string F_ParentCode { get; set; }
        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        public string F_ParentName { get; set; }
        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        public int? F_Level { get; set; }
        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        public string F_TypeCode { get; set; }

        [NotMapped]
        //使用懒加载加此字段
        public bool haveChild { get; set; }
    }
}
